* {
  box-sizing: border-box;
}

html,
body,
#app {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

html,
body {
  // font-size: 14px;
  // background-color: var(--color-fill-2);
  background-color: #f5f7fd; // body背景颜色
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

ul {
  list-style: none !important;
  margin-bottom: 0;
}

/* 美化滚动条 */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-thumb {
  width: 6px;
  border-radius: 6px;
  background-color: var(--color-neutral-3);
}

::-webkit-scrollbar-thumb:hover {
  width: 6px;
  background-color: var(--color-neutral-4);
}

::-ms-scrollbar-thumb {
  width: 6px;
  border-radius: 6px;
  background-color: var(--color-neutral-3);
}

/* section 左侧带蓝色条*/
.section {
  border: none;

  & > .arco-card-header {
    height: auto;
    padding: 10px 0;
    border: none;
    & > .arco-card-header-title {
      font-size: 16px;
      margin-left: 10px;
      &::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        width: 3px;
        height: 16px;
        transform: translate(0, -50%);
        background-color: #006eff;
        border-radius: 0 4px 4px 0;
      }
    }
  }
  & > .arco-card-body {
    padding: 10px 0;
  }
}

/* 提示文本 */
.tips {
  color: var(--color-text-3);
  font-size: 14px;
  font-weight: 400;
  padding: 4px 12px 20px 4px;
}

/* 带hover效果的元素*/
.hover-btn {
  border: 0 !important;
  background-color: transparent;

  &:hover {
    background: var(--color-secondary-hover) !important;
    color: rgb(var(--primary-6)) !important;
  }

  &:active {
    background: var(--color-secondary-active) !important;
  }
}

.success {
  color: rgb(var(--success-6));
  margin-right: 4px;
}
.warning {
  color: rgb(var(--warning-6));
  margin-right: 4px;
}
.danger {
  color: rgb(var(--danger-6));
  margin-right: 4px;
}
.round {
  border-radius: 100px;
}
